# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-ovos-ocp-rss-plugin
pkgver=0.0.2
pkgrel=0
pkgdesc="ovos-core rss plugin"
url="https://github.com/OpenVoiceOS/ovos-ocp-rss-plugin"
arch="noarch"
license="Apache-2.0"
depends="
	py3-feedparser
	py3-ovos-ocp-audio-plugin
	"
makedepends="
	py3-gpep517
	py3-setuptools
	py3-wheel
	"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/OpenVoiceOS/ovos-ocp-rss-plugin/archive/refs/tags/V$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/ovos-ocp-rss-plugin-$pkgver"

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	python3 -m installer -d "$pkgdir" \
		.dist/*.whl
}

sha512sums="
ee05a725efab1b75a746033f57583a5608d38133102a9c651c882a5042bb721a11ddeda476a19487ffada193ec9b7890bd6d348b33422ab19f0ceeb818150e39  py3-ovos-ocp-rss-plugin-0.0.2.tar.gz
"
